package com.always.electrical.energy.web.res;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 显示数据数据项
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DevicesSvgCurveDataRes extends WebResponse {

    private List<Item> items = new ArrayList<>();

    @Data
    @Accessors(chain = true)
    public static class Item implements Serializable {
        /**
         * 设备ID
         */
        private BigDecimal id;
        /**
         * 功率因数 电网侧-总
         */
        private BigDecimal TotPF;
        /**
         * 功率因数 电网侧-A
         */
        private BigDecimal PhPF_phsA;
        /**
         * 功率因数 电网侧-B
         */
        private BigDecimal PhPF_phsB;
        /**
         * 功率因数 电网侧-C
         */
        private BigDecimal PhPF_phsC;
        /**
         * 功率因数 负载侧-总
         */
        private BigDecimal Load_TotPF;
        /**
         * 功率因数 负载侧-A
         */
        private BigDecimal Load_PhPF_phsA;
        /**
         * 功率因数 负载侧-B
         */
        private BigDecimal Load_PhPF_phsB;
        /**
         * 功率因数 负载侧-C
         */
        private BigDecimal Load_PhPF_phsC;
        /**
         * 无功功率 电网侧-总
         */
        private BigDecimal Grid_TotVAr;
        /**
         * 无功功率 电网侧-A
         */
        private BigDecimal Grid_PhVAr_phsA;
        /**
         * 无功功率 电网侧-B
         */
        private BigDecimal Grid_PhVAr_phsB;
        /**
         * 无功功率 电网侧-C
         */
        private BigDecimal Grid_PhVAr_phsC;
        /**
         * 无功功率 负载侧-总
         */
        private BigDecimal Load_TotVAr;
        /**
         * 无功功率 负载侧-A
         */
        private BigDecimal Load_PhVAr_phsA;
        /**
         * 无功功率 负载侧-B
         */
        private BigDecimal Load_PhVAr_phsB;
        /**
         * 无功功率 负载侧-C
         */
        private BigDecimal Load_PhVAr_phsC;
        /**
         * THD 电流 电网侧-A
         */
        private BigDecimal Grid_THD_A_phsA;
        /**
         * THD 电流 电网侧-B
         */
        private BigDecimal Grid_THD_A_phsB;
        /**
         * THD 电流 电网侧-C
         */
        private BigDecimal Grid_THD_A_phsC;
        /**
         * THD 电流 负载侧-A
         */
        private BigDecimal Load_THD_A_phsA;
        /**
         * THD 电流 负载侧-B
         */
        private BigDecimal Load_THD_A_phsB;
        /**
         * THD 电流 负载侧-C
         */
        private BigDecimal Load_THD_A_phsC;
        /**
         * THD 电流 负载侧-N
         */
        private BigDecimal Load_THD_A_phsN;
        /**
         * THD 电压 电网侧-A
         */
        private BigDecimal Grid_THD_PhV_phsA;
        /**
         * THD 电压 电网侧-B
         */
        private BigDecimal Grid_THD_PhV_phsB;
        /**
         * THD 电压 电网侧-C
         */
        private BigDecimal Grid_THD_PhV_phsC;
        /**
         * 电流不平衡度 电网侧：正序
         */
        private BigDecimal Grid_A_Unbalance;
        /**
         * 电流不平衡度 电网侧：负序
         */
        private BigDecimal Grid_A_Negative_Unbalance;
        /**
         * 电流不平衡度 电网侧：零序
         */
        private BigDecimal Grid_A_Zero_Unbalance;
        /**
         * 电流不平衡度 负载侧：正序
         */
        private BigDecimal Load_A_Unbalance;
        /**
         * 电流不平衡度 负载侧：负序
         */
        private BigDecimal Load_A_Negative_Unbalance;
        /**
         * 电流不平衡度 负载侧：零序
         */
        private BigDecimal Load_A_Zero_Unbalance;
        /**
         * 视在功率 电网侧-总
         */
        private BigDecimal Grid_TotVA;
        /**
         * 视在功率 电网侧-A
         */
        private BigDecimal Grid_PhVA_phsA;
        /**
         * 视在功率 电网侧-B
         */
        private BigDecimal Grid_PhVA_phsB;
        /**
         * 视在功率 电网侧-C
         */
        private BigDecimal Grid_PhVA_phsC;
        /**
         * 视在功率 负载侧-总
         */
        private BigDecimal Load_TotVA;
        /**
         * 视在功率 负载侧-A
         */
        private BigDecimal Load_PhVA_phsA;
        /**
         * 视在功率 负载侧-B
         */
        private BigDecimal Load_PhVA_phsB;
        /**
         * 视在功率 负载侧-C
         */
        private BigDecimal Load_PhVA_phsC;
        /**
         * 电流 电网侧-A
         */
        private BigDecimal Grid_A_phsA;
        /**
         * 电流 电网侧-B
         */
        private BigDecimal Grid_A_phsB;
        /**
         * 电流 电网侧-C
         */
        private BigDecimal Grid_A_phsC;
        /**
         * 电流 电网侧-N
         */
        private BigDecimal Grid_A_phsN;
        /**
         * 电流 负载侧-A
         */
        private BigDecimal Load_A_phsA;
        /**
         * 电流 负载侧-B
         */
        private BigDecimal Load_A_phsB;
        /**
         * 电流 负载侧-C
         */
        private BigDecimal Load_A_phsC;
        /**
         * 电流 负载侧-N
         */
        private BigDecimal Load_A_phsN;
    }
}
